var arr = [1,6,3,8,3,9,5,6,78,3,8,3,2,8]
//
//var result = arr.indexOf(3)
//var result = arr.indexOf(3,3)
var result = arr.lastIndexOf(3)
console.log(result,arr)

